package com.dmxh.service;

import com.dmxh.params.QueryParams;
import com.dmxh.pojo.TbBrand;
import com.dmxh.result.PageList;
import com.dmxh.vo.BrandVo;

import java.util.List;

public interface BrandService {

    PageList<BrandVo> queryPage(QueryParams<BrandVo> queryParams);

    BrandVo queryBrandByName(String name);

    void addInfo(TbBrand tbBrand);

    void updateInfo(TbBrand tbBrand);

    void deleteById(Integer id);

    void deleteBatch(Integer[] ids);

    List<BrandVo> queryAllBrand();
}
